
using AutoMapper;
using HCD.Entities;
using HCD.Entities.Dtos;

namespace HCD.Dict.Dtos
{
	public static class CustomDictMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<SimpleDictDto, SimpleDict>();
            configuration.CreateMap<SimpleDict, SimpleDictDto>();

            configuration.CreateMap<SimpleDictAddInput, SimpleDict>();
            configuration.CreateMap<SimpleDict, SimpleDictAddInput>();

            configuration.CreateMap<SimpleDictEditInput, SimpleDict>();
            configuration.CreateMap<SimpleDict, SimpleDictEditInput>();
        }
	}
}
